package com.ele.service;

import com.ele.pojo.PageResult;
import com.ele.pojo.Shop;

import java.util.List;

public interface ShopService {
    Integer shopAdd(Shop shop);
    PageResult<List<Shop>> shopList(String currentPage, String pageSize, String businessId);

    /**
     * 分页与条件查询需审核店铺
     * @param currentPage
     * @param pageSize
     * @param shopName
     * @param status
     * @return
     */
    PageResult<List<Shop>> shopAuditList(String currentPage, String pageSize, String shopName, String status);

    /**
     * 店铺状态修改（审核、退审、休息、营业、违规）
     * @param shopId
     * @param status
     * @return
     */
    Integer changeStatus(String shopId, String status);
}
